//
//  AddPersonListTableViewCell.m
//  MobileOffice
//
//  Created by jjkj on 16/11/4.
//  Copyright © 2016年 liaoningjujin. All rights reserved.
//

#import "AddPersonListTableViewCell.h"

@implementation AddPersonListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.userInteractionEnabled=YES;
        
        _lineLabel=[[UILabel alloc]initWithFrame:CGRectMake(0, 1, IPHONE_WIDTH, 1)];
        _lineLabel.backgroundColor=BACKCOLOR_GRAY;
        [self.contentView addSubview:_lineLabel];
        
        _myTitleLabel=[MyControl creatLabelWithFrame:CGRectMake(8, 8, IPHONE_WIDTH-16, 20) text:@""];
        [self.contentView addSubview:_myTitleLabel];
        
        _messageLabel=[MyControl creatLabelWithFrame:CGRectMake(_myTitleLabel.x, _myTitleLabel.y+_myTitleLabel.height+8, _myTitleLabel.width, 20) text:@""];
        _messageLabel.textColor=[UIColor lightGrayColor];
        //_messageLabel.font=FONT_17;
        [self.contentView addSubview:_messageLabel];
        

        self.contentView.width=IPHONE_WIDTH;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
